package com.rockcent.mall.lib.domain.enumclass;

/**
 * Created by HK on 16/9/25.
 * 上传文件
 */
public enum UploadFileBusinessType {

    PRODUCT_FACE("/product/face","产品封面图"),
    PRODUCT_PROMOTE("/product/promote","产品推广图"),
    MERCHANT_FACE("/merchant/face","商城封面图"),
    GIFT_PACKET_PROMOTE("/gift_packet/promote","商城封面图"),
    MERCHANT_COUPON_PROMOTE("/coupon/promote","卡券推广二维码图"),
    MERCHANT_CHANNEL_PROMOTE ("/channel/promote","渠道推广二维码图"),
    MERCHANT_PROMOTE ("/merchant/promote","商家推广二维码图"),
    MERCHANT_LOGO("/merchant/logo","商城图标"),
    CATE_TEMPLATE_ICON("/category","分类图标"),
    USER_FEEDBACK("/user/feedback","用户反馈图片"),
    MERCHANT_WECHAT_CERTIFICATE("/merchant/wechat/certificate","商户微信证书"),
    MALL_PROMOTE("/mall/promote","推广码二维码图"),
    CUSTOMER_HEAD_IMG("/customer/head_img","用户头像");
    // 上传的路径前缀
    private String path;
    // 用处
    private String desc;


    UploadFileBusinessType(String path, String desc) {
        this.path = path;
        this.desc = desc;
    }

    public String getPath() {
        return path;
    }


    public String getDesc() {
        return desc;
    }

}
